package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_CapitalRegisterClaim", catalog="Id")
public class TcwCapitalRegisterClaim extends BaseEntity<TcwCapitalRegisterClaim> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="CapitalRegisterSonId", nameJava="capitalRegisterSonId", typeDataBase="bigint")
	private Long capitalRegisterSonId;
	@YsField(nameDataBase="PaymentTime", nameJava="paymentTime", typeDataBase="varchar")
	private String paymentTime;
	@YsField(nameDataBase="PaymentAmount", nameJava="paymentAmount", typeDataBase="decimal")
	private BigDecimal paymentAmount;
	@YsField(nameDataBase="AccountingVgsbm", nameJava="accountingVgsbm", typeDataBase="varchar")
	private String accountingVgsbm;
	@YsField(nameDataBase="CompanyBankInfoId", nameJava="companyBankInfoId", typeDataBase="bigint")
	private Long companyBankInfoId;
	@YsField(nameDataBase="CompanyVid", nameJava="companyVid", typeDataBase="varchar")
	private String companyVid;
	@YsField(nameDataBase="OperateCompanyBankInfoId", nameJava="operateCompanyBankInfoId", typeDataBase="bigint")
	private Long operateCompanyBankInfoId;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="ClaimTime", nameJava="claimTime", typeDataBase="datetime")
	private Date claimTime;
	@YsField(nameDataBase="ClaimStatus", nameJava="claimStatus", typeDataBase="tinyint")
	private Integer claimStatus;
	@YsField(nameDataBase="ClaimVgsbm", nameJava="claimVgsbm", typeDataBase="varchar")
	private String claimVgsbm;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwCapitalRegisterClaim setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getCapitalRegisterSonId() {
		return capitalRegisterSonId;
	}
	public TcwCapitalRegisterClaim setCapitalRegisterSonId(Long capitalRegisterSonId) {
		this.capitalRegisterSonId = capitalRegisterSonId;
		return this;
	}
	public String getPaymentTime() {
		return paymentTime;
	}
	public TcwCapitalRegisterClaim setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
		return this;
	}
	public BigDecimal getPaymentAmount() {
		return paymentAmount;
	}
	public TcwCapitalRegisterClaim setPaymentAmount(BigDecimal paymentAmount) {
		this.paymentAmount = paymentAmount;
		return this;
	}
	public String getAccountingVgsbm() {
		return accountingVgsbm;
	}
	public TcwCapitalRegisterClaim setAccountingVgsbm(String accountingVgsbm) {
		this.accountingVgsbm = accountingVgsbm;
		return this;
	}
	public Long getCompanyBankInfoId() {
		return companyBankInfoId;
	}
	public TcwCapitalRegisterClaim setCompanyBankInfoId(Long companyBankInfoId) {
		this.companyBankInfoId = companyBankInfoId;
		return this;
	}
	public String getCompanyVid() {
		return companyVid;
	}
	public TcwCapitalRegisterClaim setCompanyVid(String companyVid) {
		this.companyVid = companyVid;
		return this;
	}
	public Long getOperateCompanyBankInfoId() {
		return operateCompanyBankInfoId;
	}
	public TcwCapitalRegisterClaim setOperateCompanyBankInfoId(Long operateCompanyBankInfoId) {
		this.operateCompanyBankInfoId = operateCompanyBankInfoId;
		return this;
	}
	public Date getClaimTime() {
		return claimTime;
	}
	public TcwCapitalRegisterClaim setClaimTime(Date claimTime) {
		this.claimTime = claimTime;
		return this;
	}
	public Integer getClaimStatus() {
		return claimStatus;
	}
	public TcwCapitalRegisterClaim setClaimStatus(Integer claimStatus) {
		this.claimStatus = claimStatus;
		return this;
	}
	public String getClaimVgsbm() {
		return claimVgsbm;
	}
	public TcwCapitalRegisterClaim setClaimVgsbm(String claimVgsbm) {
		this.claimVgsbm = claimVgsbm;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwCapitalRegisterClaim setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwCapitalRegisterClaim setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwCapitalRegisterClaim setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwCapitalRegisterClaim tcwCapitalRegisterClaim(
		Long capitalRegisterSonId,
		String paymentTime,
		BigDecimal paymentAmount,
		String accountingVgsbm,
		Long companyBankInfoId,
		String companyVid,
		Long operateCompanyBankInfoId,
		Date claimTime,
		Integer claimStatus,
		String claimVgsbm,
		Integer status
			) {
		TcwCapitalRegisterClaim entity = new TcwCapitalRegisterClaim();
		entity.setCapitalRegisterSonId(capitalRegisterSonId);
		entity.setPaymentTime(paymentTime);
		entity.setPaymentAmount(paymentAmount);
		entity.setAccountingVgsbm(accountingVgsbm);
		entity.setCompanyBankInfoId(companyBankInfoId);
		entity.setCompanyVid(companyVid);
		entity.setOperateCompanyBankInfoId(operateCompanyBankInfoId);
		entity.setClaimTime(claimTime);
		entity.setClaimStatus(claimStatus);
		entity.setClaimVgsbm(claimVgsbm);
		entity.setStatus(status);
		return entity;
	}
}